package com.mswork.mes.service;

import java.util.List;

import com.mswork.mes.domain.Auxiliary;

/**
 * 辅料库存Service接口
 *
 * @author ruoyi
 * @date 2025-04-09
 */
public interface IAuxiliaryService {
    /**
     * 查询辅料库存
     *
     * @param id 辅料库存主键
     * @return 辅料库存
     */
    public Auxiliary selectAuxiliaryById(Long id);

    /**
     * 查询辅料库存列表
     *
     * @param auxiliary 辅料库存
     * @return 辅料库存集合
     */
    public List<Auxiliary> selectAuxiliaryList(Auxiliary auxiliary);

    public List<Auxiliary> selectAuxiliaryByAuxiliaryType(Auxiliary auxiliary);


    /**
     * 新增辅料库存
     *
     * @param auxiliary 辅料库存
     * @return 结果
     */
    public int insertAuxiliary(Auxiliary auxiliary);

    /**
     * 修改辅料库存
     *
     * @param auxiliary 辅料库存
     * @return 结果
     */
    public int updateAuxiliary(Auxiliary auxiliary);

    /**
     * 批量删除辅料库存
     *
     * @param ids 需要删除的辅料库存主键集合
     * @return 结果
     */
    public int deleteAuxiliaryByIds(Long[] ids);

    /**
     * 删除辅料库存信息
     *
     * @param id 辅料库存主键
     * @return 结果
     */
    public int deleteAuxiliaryById(Long id);
}
